package com.qiangesoft.bootcodegen.pojo.convert;

import com.qiangesoft.bootcodegen.entity.BcgTable;
import com.qiangesoft.bootcodegen.pojo.dto.BcgTableConfigDTO;
import com.qiangesoft.bootcodegen.pojo.dto.BcgTableImportDTO;
import com.qiangesoft.bootcodegen.pojo.vo.BcgTableDetailVO;
import com.qiangesoft.bootcodegen.pojo.vo.BcgTableVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * <p>
 * 表配置 对象转换工具
 * </p>
 *
 * @author qiangesoft
 * @date 2024-03-28
 */
@Mapper
public interface BcgTableConvert {

    BcgTableConvert INSTANCE = Mappers.getMapper(BcgTableConvert.class);

    BcgTableVO entityToVo(BcgTable entity);

    BcgTableDetailVO entityToDetailVo(BcgTable entity);

    BcgTable dtoToEntity(BcgTableImportDTO dto);

    BcgTable configDtoToEntity(BcgTableConfigDTO dto);
}